package com.huawei.test;

import java.util.Scanner;

public class Mai {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		String s1 = in.next();
		
		System.out.println("0" );
		System.out.println("1");

	}

}
